#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H
#include<QToolBar>
#include<QToolButton>
#include <QWidget>

namespace Ui {
class MyPushButton;
}

class MyPushButton : public QWidget
{
    Q_OBJECT

public:
    explicit MyPushButton(QWidget *parent = nullptr);
    ~MyPushButton();

private:
    Ui::MyPushButton *ui;
    //声明一个QToolButton对象和一个QTollBar对象

    QToolBar *tbar;
    QToolButton *tbutton;


};

#endif // MYPUSHBUTTON_H
